Dynomotion

Group: DynoMotion Message: 3863 From: Bengt Sjoelund Date: 2/12/2012
Subject: Mach3 and CombiMill
Hi Tom,
I have just uploaded CombiMill3axis.c in my folder.
I have good movement in KMotionCNC but first I have to go via StepResponse in KMotion and enable 0,1 and 2 before I can jog in KMotionCNC. So far it works, id I push INIT all green DRO's go yellow
and I have to enable again.
If I go to Mach3 do reset all is OK untill I want to jog and error of disabled axis on status line.
I have tried to get the hang of manuals but obviously I do something wrong.

SetBit(156); // is for activation of HV to drives.

Must KMotion and KMotionCNC be running in background for Mach3 plugin to work?

I got Mach3 jogging working once but only whem KMotionCNC was running as well with KMotion.

So I hope you have some advise for this old fart ;)

Cheers
Bengt
Group: DynoMotion Message: 3865 From: Tom Kerekes Date: 2/12/2012
Subject: Re: Mach3 and CombiMill
Hi Bengt!
 
No you should not need to run KMotion or KMotionCNC for Mach3 to work.
 
It sounds simply like all the screen settings in KMotion have not been placed into your CombiMill3axis.c file.  For example in your file I can see Vel settings of 100 counts/sec which would be super slow.
 
There is a button on the Config/Flash screen that will take all the settings from the KMotion.exe Step, Config, and Filter Screens and automatically convert them to C code and place the code in the Window's Clipboard.  You can then paste all the settings over the settings for that axis in your CombiMill3Axis.c file.  You must repeat that process for all 3 axes.  After you do this running the C program will set everything the exactly the same as if you downloaded the screens from KMotion.exe.  Here is a Video which may help explain:
 
 
Regards
TK
 
 

Group: DynoMotion Message: 3866 From: Bengt Sjoelund Date: 2/12/2012
Subject: Re: Mach3 and CombiMill
Hi Tom,
Jogging is pretty fast in KMotionCNC with my slow settings, it can be set higher but want to start slow ;) before I get a hang of it.
ch0->Vel=100;
ch0->Accel=1000;
ch0->Jerk=10000;
So what you say I should tune to new higher settings.
I will go step by step as shown in video and hopefully I get all running.
Cheers
Bengt


--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Bengt!
>  
> No you should not need to run KMotion or KMotionCNC for Mach3 to work.
>  
> It sounds simply like all the screen settings in KMotion have not been placed into your CombiMill3axis.c file.  For example in your file I can see Vel settings of 100 counts/sec which would be super slow.
>  
> There is a button on the Config/Flash screen that will take all the settings from the KMotion.exe Step, Config, and Filter Screens and automatically convert them to C code and place the code in the Window's Clipboard.  You can then paste all the settings over the settings for that axis in your CombiMill3Axis.c file.  You must repeat that process for all 3 axes.  After you do this running the C program will set everything the exactly the same as if you downloaded the screens from KMotion.exe.  Here is a Video which may help explain:
>  
> http://www.dynomotion.com/Help/FlashHelp/Parameters/index.html
>  
> Regards
> TK
>  
>  
>
> From: Bengt Sjoelund <cnc@...>
> To: DynoMotion@yahoogroups.com
> Sent: Sunday, February 12, 2012 9:46 AM
> Subject: [DynoMotion] Mach3 and CombiMill
>
>
>  
> Hi Tom,
> I have just uploaded CombiMill3axis.c in my folder.
> I have good movement in KMotionCNC but first I have to go via StepResponse in KMotion and enable 0,1 and 2 before I can jog in KMotionCNC. So far it works, id I push INIT all green DRO's go yellow
> and I have to enable again.
> If I go to Mach3 do reset all is OK untill I want to jog and error of disabled axis on status line.
> I have tried to get the hang of manuals but obviously I do something wrong.
>
> SetBit(156); // is for activation of HV to drives.
>
> Must KMotion and KMotionCNC be running in background for Mach3 plugin to work?
>
> I got Mach3 jogging working once but only whem KMotionCNC was running as well with KMotion.
>
> So I hope you have some advise for this old fart ;)
>
> Cheers
> Bengt
>
Group: DynoMotion Message: 3867 From: Tom Kerekes Date: 2/12/2012
Subject: Re: Mach3 and CombiMill
Hi Bengt,
 
Well those are very slow.  You haven't told us what your resolution is but for example if it is 2000 counts/inch (80 counts/mm) then 100 counts/sec would be only  0.3ipm (7mm/min).
 
KMotionCNC doesn't use those settings so those small numbers are not helping you keep things slow.  There are separate settings in KMotionCNC | Tool Setup | Trajectory Planner that set Jog speeds and Coordinated Motion Speeds.  The units on that screen are in inches/sec and you must set the Resolution properly.
 
You should get everything working and tuned in KMotion.exe before you try to run KMotionCNC or Mach3.  This is a different approach than with a parallel port.  Because a parallel port has no intelligence or programmability on its own you needed to use Mach3 to setup everything.  However with KFLOP it takes over all of the low level control.  Mach3 is no longer concerned with many of the details.  It just sends trajectory information and high level commands (please home).   
 
HTH
TK

Group: DynoMotion Message: 3868 From: Bengt Sjoelund Date: 2/12/2012
Subject: Re: Mach3 and CombiMill
Hi Tom,
If I recall it right I have 1250ppr.
Done all the math in KmotionCNC to get my metric figures set properly, and I have nothing to complain about the speed there. Honestly I can can get pretty scary movements in there when jogging.

OK so I will have to redo my math and set appropriate figures in KMotion based on what I have in KMotionCNC and make a new init.c file for my machine.
Thanks for the advise, always appreciated.
Cheers
Bengt

--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Bengt,
>  
> Well those are very slow.  You haven't told us what your resolution is but for example if it is 2000 counts/inch (80 counts/mm) then 100 counts/sec would be only  0.3ipm (7mm/min).
>  
> KMotionCNC doesn't use those settings so those small numbers are not helping you keep things slow.  There are separate settings in KMotionCNC | Tool Setup | Trajectory Planner that set Jog speeds and Coordinated Motion Speeds.  The units on that screen are in inches/sec and you must set the Resolution properly.
>  
> You should get everything working and tuned in KMotion.exe before you try to run KMotionCNC or Mach3.  This is a different approach than with a parallel port.  Because a parallel port has no intelligence or programmability on its own you needed to use Mach3 to setup everything.  However with KFLOP it takes over all of the low level control.  Mach3 is no longer concerned with many of the details.  It just sends trajectory information and high level commands (please home).   
>  
> HTH
> TK
>
> From: Bengt Sjoelund <cnc@...>
> To: DynoMotion@yahoogroups.com
> Sent: Sunday, February 12, 2012 10:53 AM
> Subject: [DynoMotion] Re: Mach3 and CombiMill
>
>
>  
> Hi Tom,
> Jogging is pretty fast in KMotionCNC with my slow settings, it can be set higher but want to start slow ;) before I get a hang of it.
> ch0->Vel=100;
> ch0->Accel=1000;
> ch0->Jerk=10000;
> So what you say I should tune to new higher settings.
> I will go step by step as shown in video and hopefully I get all running.
> Cheers
> Bengt
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Bengt!
> >  
> > No you should not need to run KMotion or KMotionCNC for Mach3 to work.
> >  
> > It sounds simply like all the screen settings in KMotion have not been placed into your CombiMill3axis.c file.  For example in your file I can see Vel settings of 100 counts/sec which would be super slow.
> >  
> > There is a button on the Config/Flash screen that will take all the settings from the KMotion.exe Step, Config, and Filter Screens and automatically convert them to C code and place the code in the Window's Clipboard.  You can then paste all the settings over the settings for that axis in your CombiMill3Axis.c file.  You must repeat that process for all 3 axes.  After you do this running the C program will set everything the exactly the same as if you downloaded the screens from KMotion.exe.  Here is a Video which may help explain:
> >  
> > http://www.dynomotion.com/Help/FlashHelp/Parameters/index.html
> >  
> > Regards
> > TK
> >  
> >  
> >
> > From: Bengt Sjoelund <cnc@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Sunday, February 12, 2012 9:46 AM
> > Subject: [DynoMotion] Mach3 and CombiMill
> >
> >
> >  
> > Hi Tom,
> > I have just uploaded CombiMill3axis.c in my folder.
> > I have good movement in KMotionCNC but first I have to go via StepResponse in KMotion and enable 0,1 and 2 before I can jog in KMotionCNC. So far it works, id I push INIT all green DRO's go yellow
> > and I have to enable again.
> > If I go to Mach3 do reset all is OK untill I want to jog and error of disabled axis on status line.
> > I have tried to get the hang of manuals but obviously I do something wrong.
> >
> > SetBit(156); // is for activation of HV to drives.
> >
> > Must KMotion and KMotionCNC be running in background for Mach3 plugin to work?
> >
> > I got Mach3 jogging working once but only whem KMotionCNC was running as well with KMotion.
> >
> > So I hope you have some advise for this old fart ;)
> >
> > Cheers
> > Bengt
> >
>